const userService = require("../service/user_service");
class userController {
  async registerUser(ctx, next) {
    const { email } = ctx.request.body;
    const result = await userService.sendEmailCode(email);
    ctx.body = "已发送验证码";
  }
}

module.exports = new userController();
